#include "StdAfx.h"
#include "comtrol.h"
#include "resource.h"
BOOL WINAPI About_Proc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
{
	switch(uMsg)
	{   
		HANDLE_MSG(hwnd,WM_INITDIALOG,About_OnInitDialog);
		HANDLE_MSG(hwnd,WM_COMMAND,About_OnCommand);
	}
	return FALSE;
}
BOOL About_OnInitDialog(HWND hwnd, HWND hwndFocus, LPARAM lParam)
{   
	extern int colorvalue;
	if(colorvalue!=-1)
	   SkinH_SetWindowAlpha(hwnd,colorvalue);
	return TRUE;
}
void About_OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify)
{
	switch(id)
	{
	case IDC_OK:
		EndDialog(hwnd,0);
		break;
	default:
		break;
	}
}
